<?php
  $showPage = false; 
  $groupsArray = array();
  
  //var_dump($authority->getAuthority("group_manager",$_SESSION['id']));
  if($authority->getAuthority("group_manager",$_SESSION['id']) == true)
  {
	if(isset($_GET['group_id']))
	{
		$groupsArray = $authority->getGroup($_GET['group_id']);
	}
	else
	{
		$groupsArray = $authority->getGroup();
	}
	$showPage = true;       
  }
  
  include "template/group_manager.php";
?>
